home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
SGI Freeware 2002 November
/
SGI Freeware 2002 November - Disc 3.iso
/
dist
/
fw_qt3.idb
/
usr
/
freeware
/
Qt
/
include
/
qimageformatplugin.h.z
/
qimageformatplugin.h
Wrap
C/C++ Source or Header
|
2002-04-08
|
760b
|
30 lines
#ifndef QIMAGEFORMATPLUGIN_H
#define QIMAGEFORMATPLUGIN_H
#ifndef QT_H
#include "qgplugin.h"
#include "qstringlist.h"
#endif // QT_H
#ifndef QT_NO_IMAGEFORMATPLUGIN
class QImageFormat;
class QImageFormatPluginPrivate;
class Q_EXPORT QImageFormatPlugin : public QGPlugin
{
Q_OBJECT
public:
QImageFormatPlugin();
~QImageFormatPlugin();
virtual QStringList keys() const = 0;
virtual bool loadImage( const QString &format, const QString &filename, QImage *image );
virtual bool saveImage( const QString &format, const QString &filename, const QImage &image );
virtual bool installIOHandler( const QString &format ) = 0;
private:
QImageFormatPluginPrivate *d;
};
#endif // QT_NO_IMAGEFORMATPLUGIN
#endif // QIMAGEFORMATPLUGIN_H